Create a tool transformation to measure the forces and torques acting at a point other than the origin of the transducer.
In:
A 6-element array with the displacements and rotations relative to the origin of the transducer. There must be six elements in the array. If you do not wish to perform a particular displacement or rotation, set the corresponding value to 0. Note that rotations are performed in the order X, Y, then Z.
transformVector[0] = displacement along x axis
transformVector[1] = displacement along y axis
transformVector[2] = displacement along z axis
transformVector[3] = rotation about x axis (right-hand rotation)
transformVector[4] = rotation about y axis (right-hand rotation)
transformVector[5] = rotatation about z axis (right-hand rotation)
In: The units of the displacements. Acceptable values are "in", "m", "mm", "cm", or "ft".
In: The units of the rotations. Acceptable values are "deg", "degrees", "degree", "rad", "radians", or "radian".
0: successful completion
1: Calibration not initialized. Call LoadCalibrationFilebefore calling this function
2: Invalid Distance Units
3: Invalid Angle Units